package com.sumainfor.pc.gmio.controller.secretary;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.SeBillAbnormalService;
import com.sumainfor.pc.gmio.service.SeGasMeterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;
import java.util.Map;

/**
 * 账单异常/违约金异常
 */
@RestController
@RequestMapping("/secretary/SeBillAbnormal")
public class SeBillAbnormalController implements Serializable {
    @Autowired
    private SeBillAbnormalService seBillAbnormalService;
    /**
     * 新增账单异常/违约金异常记录
     */
    @PostMapping("/key/addSeBill")
    public JsonResult addSeBill(@RequestBody Map<String,Object> params){
        return seBillAbnormalService.addSeBill(params);
    }
}
